#!/usr/bin/gnuplot

set title 'cuqu::queue fetch() benchmark'
set xlabel 'Thread blocks'
set ylabel 'Time per invocation (us)'

#set key at 15,-10
#set key top left
set key left
#set yrange [0:20]

plot "queue_mark_32.dat"  using 1:2 title "32 threads"  with lp, \
     "queue_mark_64.dat"  using 1:2 title "64 threads"  with lp, \
     "queue_mark_128.dat" using 1:2 title "128 threads" with lp, \
     "queue_mark_256.dat" using 1:2 title "256 threads" with lp, \
     "queue_mark_512.dat" using 1:2 title "512 threads" with lp

pause -1
#pause mouse keypress